package org.example.entity;

public class Condition {
    private String name;
    private int startAge;
    private int endAge;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStartAge() {
        return startAge;
    }

    public void setStartAge(int startAge) {
        this.startAge = startAge;
    }

    public int getEndAge() {
        return endAge;
    }

    public void setEndAge(int endAge) {
        this.endAge = endAge;
    }

    public Condition() {
    }

    public Condition(String name, int startAge, int endAge) {
        this.name = name;
        this.startAge = startAge;
        this.endAge = endAge;
    }
}
